﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Web.Mvc;

namespace TicketsPhone.Web.Controllers
{
    public interface IConsultasSeccion<T>
    {

        TicketsPhone.Domain.Entities.TipoModulo ModuloActual {get;}
        
        ActionResult Listar();
        
        ActionResult Editar(int id);

        [HttpPost]
        ActionResult Editar(T model, int id);

        
        ActionResult Crear();

        [HttpPost]
        ActionResult Crear(T model);

        ActionResult Eliminar(int id);

    }
}
